package com.lqg.bookLibrary.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author prodigal_lqg
 * @since 2023-04-10 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("avg_score")
public class AvgScore implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图书id
     */
    @TableId("book_id")
    private Long bookId;

    /**
     * 平均评分
     */
    @TableField("avg_score")
    private Double avgScore;


}
